home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 15546 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: eccdb1.pms.ford.com!pms991!mbobak
  2. From: mbobak@pms991.uucp (Mark J. Bobak)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Date
  5. Date: 19 Apr 1996 20:37:10 GMT
  6. Organization: Not an Official Spokesperson for Ford Motor Company, Dearborn, MI
  7. Message-ID: <4l8thm$jhb@eccdb1.pms.ford.com>
  8. References: <317322F1.1350@is.nyu.edu>
  9. NNTP-Posting-Host: pms991.pms.ford.com
  10.  
  11. In article <317322F1.1350@is.nyu.edu>,
  12. Collin Rodolitz  <cqr2051@is.nyu.edu> wrote:
  13. >How do you get the date in C on a UNIX machine?
  14. >
  15. >                    - Collin
  16.  
  17.  
  18. You READ THE FAQ.  FAQ stands for "Frequently Asked Questions" which this
  19. certainly is.  You wait for the FAQ to be posted to this newsgroup, which
  20. happens about once every month, or you ftp to rtfm.mit.edu and get it there.
  21. Once you've done that, you look for the "How can I get the current date or 
  22. time of day in a C program?" question, (which is number 12.5 in my copy, 
  23. but may be different in the latest version) and you read the answer.  Then do
  24. what the answer says to do, voila, you'll have the date in your C program.
  25.  
  26.  
  27. -Mark
  28. -- 
  29. Mark J. Bobak, Application Developer
  30. Advanced Vehicle & Computer Aided Engineering Systems Department
  31. Process Leadership, Ford Motor Company
  32. mbobak@ford.com
  33.